package pers.kw.service;

import org.springframework.web.multipart.MultipartFile;
import pers.kw.protocol.R;

import javax.servlet.http.HttpServletResponse;

public interface FileService {

    R<String> uploadFile(MultipartFile file) throws Exception;

    void downloadFile(HttpServletResponse httpServletResponse, String fileName) throws Exception;

    R<String> getFileExpiryAccessUrl(String fileName) throws Exception;
}
